package com.laxcen.smoke.service;

import com.github.pagehelper.PageInfo;
import com.laxcen.smoke.dto.res.SmartBoardDetailRes;
import com.laxcen.smoke.dto.res.SmartDetailRes;
import com.laxcen.smoke.dto.res.SmartRes;
import com.laxcen.smoke.entity.Smart;
import com.laxcen.smoke.entity.SmartBoard;
import com.laxcen.smoke.util.Response;

import java.math.BigDecimal;
import java.util.List;

public interface IntelligentMonitorService {

    Response<Smart> insert(String smartno, String device, BigDecimal lat, BigDecimal lng, String address, String remark);

    Response<SmartBoard> addReal(String smartid, String boardno, Integer specification, String remark);

    Response updateReal(String boardid, String boardno, Integer specification, String remark);

    Response<Smart> update(String id, String no, String device, BigDecimal lat, BigDecimal lng, String address, String remark);

    Response<PageInfo<SmartRes>> getByTabList(String searchtext, int roleflag, String province, String city, String area, int pageNo, int pageSize);

    Response<PageInfo<SmartRes>> getAllList(int pageNo, int pageSize, int roleflag, String province, String city, String area);

    Response<List<SmartDetailRes>> getByOneList(String id);

    Response<List<SmartBoardDetailRes>> getBoardByOneList(String id);

    Response addbox(String id, Integer number, String remark);

    Response delete(String id);

    Response deleteBoard(String id);

    Response deletebox(String id);

    Response updateBox(int status, String boxonlyno);

}
